package db

const TableNameHfConfirmOrderLog = TablePrefix + "hf_confirm_order_log"

type HfConfirmOrderLog struct {
	BaseModel
	OrderCode string `gorm:"column:order_code;type:varchar(100);default:'';comment:分账原订单号" json:"order_code" form:"order_code"` // 分账原订单号
	Extension string `gorm:"column:extension;type:varchar(50);default:'';comment:来源" json:"extension" form:"extension"`         // 来源
	OrderID   string `gorm:"column:order_id;type:varchar(100);default:'';comment:分账订单号" json:"order_id" form:"order_id"`        // 分账订单号
	DataJson  string `gorm:"column:data_json;type:text;comment:回调json数据" json:"data_json" form:"data_json"`                     // 回调json数据
	Type      bool   `gorm:"column:type;type:tinyint(1);default:0;comment:成功,失败" json:"type" form:"type"`                       // 成功,失败
}

func (*HfConfirmOrderLog) TableName() string {
	return TableNameHfConfirmOrderLog
}
